<template>
<div class="empty-data">
	<img src="@/assets/image/empty.png"/>
	<div class="desc">{{text}}</div>
</div>
</template>

<script setup>
const props = defineProps({
	text: {
		type: String,
		default: '暂无数据'
	}
});

</script>

<style lang="less" scoped>
.empty-data {
	text-align: center;
	margin-top: 120px;
	margin-bottom: 50px;
	img{
		width: 194px;
		height: 152px;
	}
	.desc {
		font-size: 14px;
		margin-top: 12px;
		color: #909399;
	}
}
</style>